function loadRadResultInput(showLoader) {
    radTicketId         =   $('#radTicketListLbx').val();
    var radTicketName   =      $('#radTicketListLbx option:selected').attr('label');
    if (radTicketId== null) {
        return;
    }
    $('#radTicketName').text(radTicketName);
    showAjaxLoader('ajaxLoader', 'dummy', showLoader);
    $.ajax({
        type:    "GET",
        url:      "../RadResult/loadResultInputAjax?set_ajax_view",
        data:     "radTicketId=" + radTicketId,
        dataType: "json",
        complete: function(){
            showAjaxLoader('ajaxLoader', 'dummy', false);
        },
        success:    function(data) {
            if (data.error.code == 'OK') {
                $('#itemListDiv').html(data.result.itemList);
                $('#metaDiv').html(data.result.meta);
                $('#conlusionDiv').html(data.result.conclusion);
            }
            else {
                displayError(data.error.mess);              
            }
        }
    });
}

function loadRadResultView(showLoader) {
    radTicketId     =   $('#radTicketListLbx').val();
    radTicketNameText   =      $('#radTicketListLbx option:selected').attr('label');
    if (radTicketId== null) {
        return;
    }
    $('#radTicketName').text(radTicketNameText);
    showAjaxLoader('ajaxLoader', 'dummy', showLoader);
    $.ajax({
        type:    "GET",
        url:      "../RadResult/loadResultViewAjax?set_ajax_view",
        data:     "radTicketId=" + radTicketId,
        dataType: "json",
        complete: function(){
            showAjaxLoader('ajaxLoader', 'dummy', false);
        },
        success:    function(data) {
            if (data.error.code == 'OK') {
                $('#itemListDiv').html(data.result.itemList);
                $('#metaDiv').html(data.result.meta);
                $('#conlusionDiv').html(data.result.conclusion);
            }
            else {
                displayError(data.error.mess);              
            }
        }
    });
}